home *** CD-ROM | disk | FTP | other *** search
- ; updated 05/11/92
-
- DOSSEG
- .MODEL MEDIUM, BASIC
-
- Public B$TEMPDATA, B$STRINGLEN, B$STRINGOFF
-
- ;;;;;;«RM92»
-
- ;======================================================================
- ; Use it to copy strings to this buffer to automatically
- ; append a null byte. Also allow a shared data string area.
- ;
- ; Note:
- ; Int 21h, Function 60h requires that the output storage buffer be at
- ; least 128 bytes long.
- ; Schulman, "Undocumented DOS", (Addison Wesley 1990), page 565
- ; But, Dettmann, "DOS Programmer's Reference" 2d Ed. (Que 1989), page 660
- ; states that buffer is only 67 bytes long. Which one is correct?
- ; I don't want to find out, so I picked the most conservative
- ;
- ; I now use a buffer of 130 bytes (2*(64+1)), to handle RENAME w/
- ; ASCIIZ strings of 64 byte length
- ;======================================================================
-
- .DATA
- EVEN
- B$STRINGLEN DW 0 ;string descriptor length
- B$STRINGOFF DW 0 ;string descriptor offset
- B$TEMPDATA DB 130 DUP(0) ;fixed length string
-
- END
-